<?php

require_once APP_PATH.'/Controller/BaseController.php';
require_once APP_PATH.'/Model/IndexModel.php';

class IndexController extends BaseController {
	
	public function index(){
		if (!defined('sysTemplate')) define('sysTemplate', APP_PATH.'/Template');
		$templatePath = APP_PATH.'/Template';
		$cssPath = APP_PATH.'/FrontFile/Css';
		$jsPath = APP_PATH.'/FrontFile/Js';
		$imagesPath = APP_PATH.'/FrontFile/Images';
		//echo sysTemplate;
		//exit();
		//$this->display('Common/header.html');
		require_once APP_PATH.'/Template/index.php';
		//$this->display(array(),'index/index.html');
	}
	
	public function header(){
		$this->display('Common/header.html');
		//require_once APP_PATH.'/Template/Index/top.html';
	}
	
	public function left(){
		//echo 123;
		//exit();
		$this->display('Common/left.html');
	}
	
	public function switchs(){
		$this->display('Common/switch.html');
	}
	
	public function right(){
		$this->display('Common/right.html');
	}
	
	public function footer(){
		$this->display('Common/footer.html');
	}
	
	public function left2(){
		require_once APP_PATH.'/Template/Index/left.html';
	}
	
	public function hidden(){
		require_once APP_PATH.'/Template/Index/hidden.html';
	}

	public function welcome(){
		require_once APP_PATH.'/Template/Index/welcome.html';
	}
}